//
//  ColorTools.h
//  EnterpriseWeb
//
//  Created by 李小斌 on 14-5-28.
//  Copyright (c) 2014年 EIMS. All rights reserved.
//

#import <Foundation/Foundation.h>

//设置RGB颜色值
#define SETCOLOR(R,G,B,A)	[UIColor colorWithRed:(CGFloat)R/255 green:(CGFloat)G/255 blue:(CGFloat)B/255 alpha:A]

#define KColor  SETCOLOR(255,140,33,1.0)

//#define KColor  [ColorTools colorWithHexString:@"#195a9c"]

// 每个View背景色值
#define KbackgroundColor  [ColorTools colorWithHexString:@"#f5f5f5"]
// 登录框 边框色值
#define KlayerBorder  [ColorTools colorWithHexString:@"#e8e8e8"]
//绿色颜色值
#define GreenColor [ColorTools colorWithHexString:@"#18b15f"]
//粉红颜色值
#define PinkColor  [ColorTools colorWithHexString:@"#e34f4f"]
//蓝色字体颜色值
#define BluewordColor  [ColorTools colorWithHexString:@"#436EEE"]

//红色字体颜色值
#define RedwordColor  [ColorTools colorWithHexString:@"#fc4902"]

//黑色颜色值
#define KBlackColor  [ColorTools colorWithHexString:@"#333333"]
//灰色
#define KGrayColor  [ColorTools colorWithHexString:@"#999999"]
//深灰色
#define KDarkGrayColor  [ColorTools colorWithHexString:@"#666666"]

//按钮正常颜色
#define KButtonNormalColor  [ColorTools colorWithHexString:@"#f87823"]
//按钮不可点击颜色
#define KButtonForbidColor  [ColorTools colorWithHexString:@"#fdb78a"]
//按钮选中颜色
#define KButtonSelectColor  [ColorTools colorWithHexString:@"#f87823"]

//错误线条
#define KWrongLineColor  [ColorTools colorWithHexString:@"#DD5555"]

//充值按钮颜色
#define KRechargeButtonNormalColor  [ColorTools colorWithHexString:@"#f5530b"]
//充值按钮颜色
#define KWithdrawButtonNormalColor  [ColorTools colorWithHexString:@"#f7cb1d"]

#define TwentyColor  ([UIColor colorWithRed:225.0/255 green:39.0/255 blue:39.0/255 alpha:1])
#define FourtyColor  ([UIColor colorWithRed:233.0/255 green:117.0/255 blue:40.0/255 alpha:1])
#define SixtyColor   [ColorTools colorWithHexString:@"#FF7203"]
#define EightyColor  [ColorTools colorWithHexString:@"#4FBD0D"]
#define HundredColor [ColorTools colorWithHexString:@"#10AF6E"]


@interface ColorTools : NSObject

/** 颜色转换 IOS中十六进制的颜色转换为UIColor **/
+ (UIColor *) colorWithHexString: (NSString *)color;

@end
